<{include file="common/header.tpl"}>
<link rel="stylesheet" href="<{$smarty.const._CDN_}>/resource/wei/css/style.css?<{$versionCode}>">
<style>
.btns { margin: 2em 1em; }
.btns a { padding: 6px 20px; background-color: #01d093; border: 1px solid green; color: #eee; }
.orderBox { padding: 1em; line-height: 2em;}
.orderBox div { background-color: #eee; padding: 10px 1em; color: #444; margin: 1em; }
.orderBox div h3 { color: navy; }
</style>
<div class="btns"><a href="javascript:history.go(-1)">结算列表</a></div>


<div class="orderBox">

    <div>
        <h3>奖励信息</h3>
        <p>类型：<{$detail.taskType}></p>
        <p>项目：<{$detail.taskName}></p>
        <p>时间：<{"Y-m-d H:i:s"|@date:$detail.created}></p>
    </div>


    <div>
        <h3>导游信息</h3>
        <p>导游姓名：<{$detail.guider.realName}></p>
        <p>导游性别：<{if $detail.guider.userGender == 'f'}>女<{else}>男<{/if}></p>
        <p>导游年龄：<{$detail.guider.userAge}></p>
    </div>

    <div>
        <h3>导游账户</h3>
        <table cellpadding=0 cellspacing=0 border=0 width="400px">
        <{foreach from=$banks item="bank"}>
        <tr>
            <td>类型：<{if $bank.accountType == 'ALIPAY'}>支付宝<{else}>Paypal<{/if}></td> 
            <td>账户：<{$bank.accountName}></td>
            <td>姓名：<{$bank.accountUserName}></td>
        </tr>
        <{/foreach}>
        </table>
    </div>


    <div>
        <h3>结算状态</h3>
        <ul>
            <li>
                状态：<{$detail.statusName}> 
                <{if $detail.reason}>
                     <i>(<{$detail.reason}>)</i>
                <{/if}>
            </li>
            <li>金额：€ <{$detail.money}></li>
            <li>时间：<{"Y-m-d H:i:s"|@date:$detail.changed}></li>
        </ul>
    </div>


</div>

<div class="btns"><a href="javascript:history.go(-1)">结算列表</a></div>
<{include file="common/footer.tpl"}>
